//
// Created by lenovo on 25-5-8.
//
#include "iostream"
using  namespace std;
class Parent
{
public:
    int m_num1{};
    int m_num2{};
public:
    Parent()
    {
        cout<<"Parent构造函数"<<endl;
    }
    ~Parent()
    {
        cout<<"Parent析构函数"<<endl;
    }
};
class Son : public Parent
{
public:
    Son()
    {
        cout<<"Son构造函数"<<endl;
    }
    ~Son()
    {
        cout<<"Son析构函数"<<endl;
    }
};
void Test01()
{
    Son son;
}
int main()
{
    Test01();
    return 0;
}